package com.cuiyun97.service.impl;

import com.cuiyun97.domain.po.SetJwt;
import com.cuiyun97.domain.po.SetSms;
import com.cuiyun97.mapper.SetJwtMapper;
import com.cuiyun97.mapper.SetSmsMapper;
import com.cuiyun97.service.SetJwtService;
import com.cuiyun97.service.SetSmsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class SetSmsServiceImpl implements SetSmsService {

    @Resource
    private SetSmsMapper setSmsMapper;

    /**
     * 查询最后一条
     *
     * @return
     */
    @Override
    public SetSms getLastOne() {
        return setSmsMapper.getLastOne();
    }
}
